package com.study.dao;

import com.study.dto.MyQuery;
import com.study.dto.MyUser;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author tanglingyu
 * @Date: 2021/06/15/ 18:57
 * @Description
 */
@Mapper
public interface MyUserDao {

  List<MyUser> getAllUser();

  Integer addUser(@Param("user") MyUser myUser);

  MyUser getOne(@Param("id") Long id);

  MyUser selectNested(@Param("myQuery") MyQuery myQuery);
}
